package us.feng.tinyspring;

public class HelloWorld {
	private String text="";
	
	private PrintService printService;
	
	public void hello(){
		printService.print(text);
	}
	
	public void setText(String text){
		this.text=text;
	}
	
	public void setPrintService (PrintService ps){
		this.printService=ps;
	}
	
	public String getText(){
		return this.text;
	}
}
